package com.xmx.productcenter.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xmx.common.utils.PageUtils;
import com.xmx.productcenter.entity.GoodsEntity;


import java.util.List;
import java.util.Map;

/**
 * 商品基本信息表
 *
 * @author fbb
 * @email boyinbing@126.com
 * @date 2021-08-11 01:24:55
 */
public interface GoodsService extends IService<GoodsEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<GoodsEntity> queryByCategory(List<Integer> l2List, int i, int i1);

    IPage<GoodsEntity> related(Page<GoodsEntity> page,  Integer id);

}

